package com.example.myFirstWebmagic.schedule;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 
 * ClassName: SchedulingSwitch 
 * @Description: 调度任务开关
 * @author xiongyao
 * @date 2017年3月3日
 */
@Entity
public class EnSchedulingSwitch implements Serializable{

	/**
	 * 开启状态
	 */
	public static final String SWITCH_ON="ON";
	
	/**
	 * 关闭状态
	 */
	public static final String SWITCH_OFF="OFF";
	
	/**
	 * @Fields serialVersionUID : TODO
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 调度名称
	 */
	@Id
	@Column(nullable=false)
	private String scheduleName;
	
	/**
	 * 开关
	 */
	@Column(nullable=false)
	private String sswitch;

	
	
	
	
	public EnSchedulingSwitch() {
	}

	
	public String getScheduleName() {
		return scheduleName;
	}

	public void setScheduleName(String scheduleName) {
		this.scheduleName = scheduleName;
	}

	public String getSswitch() {
		return sswitch;
	}

	public void setSswitch(String sswitch) {
		this.sswitch = sswitch;
	}
	
	

}
